// const host = 'http://127.0.0.1'//测试用
// const host = 'http://192.168.2.202:3000'//测试用
const host = 'https://www.0755qr.com'
// const host = 'http://192.168.133.1:3000'//测试用
// 房东的请求的api前缀
const lander_pre = host+'/api/lander'
// 房客的请求的api前缀
const renter_pre = host + '/api/renter'



module.exports = {
  // 
  post_lander_token: lander_pre + '/accesstoken',
  houses: lander_pre + '/houses',
  houses_books: lander_pre + '/houses/books',
  // 
  post_renter_token: renter_pre + '/accesstoken',
  put_renter_phone: renter_pre+'/phone',
  to_renter_books: renter_pre + '/books',
  to_bills: renter_pre+'/bills',
  wx_pay_data: renter_pre + '/wxpaydata',
  to_post_sms_code: renter_pre + '/smscodes'
}